package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 续二表业务对象 electronic_extend_two_info
 *
 * @author whb
 * @date 2024-05-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ElectronicExtendTwoInfoBo extends BaseEntity {

    /**
     * 主键id
     */
    //@NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 监测表id
     */
    //@NotNull(message = "监测表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long monitorId;

    /**
     * 序号
     */
    //@NotNull(message = "序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer serialNumber;

    /**
     * 药品名称（通用名称+剂型）
     */
    //@NotBlank(message = "药品名称（通用名称+剂型）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pillsName;

    /**
     * 给药用途
     */
    //@NotBlank(message = "给药用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String givePillsPathway;

    /**
     * 用法
     */
    //@NotBlank(message = "用法不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pillsUsage;

    /**
     * 用量
     */
    //@NotBlank(message = "用量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pillsAmount;

    /**
     * 研究结束时
     */
    //@NotBlank(message = "研究结束时不能为空", groups = { AddGroup.class, EditGroup.class })
    private String endTime;

    /**
     * 给药途径(其它)
     */
    private String givePillsPathwayOther;

    /**
     * 用法(其它)
     */
    private String pillsUsageOther;
}
